#ifndef _EVENT_H_
#define _EVENT_H_

/*
	class : Event
	desc : Creates an event and gives each a unique number id and code
*/
class Event
{
	private:
		//Gives total number of events registered in
		//a process. Used to create unique ids
		static unsigned int eventNumber;
		//ID number for an event
		unsigned int eventID;
		//Code used by programmer to reference this event.
		//created by the programmer for convience.
		unsigned int eventCode;
	public :
		//default constructor for an event.
		Event();
		//returns the event code of the event.
		unsigned int getEventCode();
		//sets the event code of an event
		void setEventCode(unsigned int c);
		//gets the id of an event.
		unsigned int getID();
};

unsigned int Event::eventNumber = 0;

#endif
